package com.bootdo.clouddo3d.clients;


import com.bootdo.clouddo3d.config.FeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

//@FeignClient("api-chain")
@FeignClient(name = "api-chain", configuration = FeignConfig.class)

public interface ChainClient {

    @PostMapping("/admin/upChain")
    String upChain(@RequestParam("nothing") String nothing,
                   @RequestParam("key") String key,
                   @RequestParam("name") String name,
                   @RequestParam("size") String size,
                   @RequestParam("uptime") String uptime,
                   @RequestParam("owner") String owner,
                   @RequestParam("operation") String operation);

}
